package com.gnerv.battle.boot.project.guard.model.dto;

import com.gnerv.battle.boot.project.guard.model.bo.MonitorProjectBO;
import lombok.Data;
import org.springframework.beans.BeanUtils;


@Data
public class MonitorProjectUpdateDTO {

    private String ukId;
    private String name;
    private String status;
    private Integer sort;

    public MonitorProjectBO toMonitorProjectBO(){
        MonitorProjectBO monitorProjectBO = new MonitorProjectBO();
        BeanUtils.copyProperties(this, monitorProjectBO);
        return monitorProjectBO;
    }

}

